package com.bristua.tencent.live.sdk.network;

import com.bristua.tencent.live.sdk.network.callback.OnResponseCallback;

import org.json.JSONObject;

/**
 *
 * RTC_ROOM 的用户ID
 * @author richsjeson
 */
public interface IRtcUserLogin {
    /**
     * RTC_ROOM 用户登录
     * @param pSdkAppId
     * @param pAccountType
     * @param pUserId
     * @param pUserSig
     * @param pCallback
     */
    void login(long pSdkAppId, String pAccountType, String pUserId, String pUserSig, final OnResponseCallback pCallback);

    /**
     * 注销
     */
    void logout(final OnResponseCallback pCallback);

    /**
     *
     * @param pReportID
     * @param pStatisticInfo
     * @param pCallback
     */
    void report(String pReportID, JSONObject pStatisticInfo, final OnResponseCallback pCallback);

}
